Skip to content

Conversation

@EmmyMiao87
Copy link
Contributor

Change-Id: Id7dc1a1e0f7b8e13ac12c9524b7b8f3ca5814873

Proposed changes

Add usage manual of materialized view in Chinese and English

Types of changes

What types of changes does your code introduce to Doris?
Put an x in the boxes that apply

  • [] Bugfix (non-breaking change which fixes an issue)
  • [] New feature (non-breaking change which adds functionality)
  • [] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update (if none of the other choices apply)
  • [] Code refactor (Modify the code structure, format the code, etc...)

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

  • [] I have create an issue on #ISSUE, and have described the bug/feature there in detail
  • [] Compiling and unit tests pass locally with my changes
  • [] I have added tests that prove my fix is effective or that my feature works
  • [] If this change need a document change, I have updated the document
  • [] Any dependent changes have been merged

@EmmyMiao87 EmmyMiao87 added kind/docs Categorizes issue or PR as related to documentation. area/materialized-view Issues or PRs related to materialized view branch-0.13 PR which need to merge to branch 0.13 labels Jul 31, 2020
@EmmyMiao87 EmmyMiao87 linked an issue Jul 31, 2020 that may be closed by this pull request
1. 物化视图的聚合函数的参数不支持表达式仅支持单列,比如: sum(a+b)不支持。
2. 如果删除语句的条件列,在物化视图中不存在,则不能进行删除操作。如果一定要删除数据,则需要先将物化视图删除,然后方可删除数据。
3. 单表上过多的物化视图会影响导入的效率:导入数据时,物化视图和 base 表数据是同步更新的,如果一张表的物化视图表超过10张,则有可能导致导入速度很慢。这就像单次导入需要同时导入10张表数据是一样的。

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. the same column with two aggregate funciton(select sum(a), count(a)) can't be support now
  2. aggregation model's table can't support hll_union/bitmap_union/count

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aggregation model's table also support hll_union/bitmap_union/count

wutiangan
wutiangan previously approved these changes Aug 3, 2020
Add usage manual of materialized view in Chinese and English

Change-Id: Id7dc1a1e0f7b8e13ac12c9524b7b8f3ca5814873
Change-Id: I2e9e15fa7aafa263b75d912015386a8f69fa75d4
Change-Id: I9c5f3f9436616ddb776bac0c8d4d1cbba9c14c51
morningman
morningman previously approved these changes Aug 3, 2020
Copy link
Contributor

@morningman morningman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

| bitmap\_union | bitmap\_union, bitmap\_union\_count, count(distinct) |
| hll\_union | hll\_raw\_agg, hll\_union\_agg, ndv() |
| bitmap\_union | bitmap\_union, bitmap\_union\_count, count(distinct) |
| hll\_union | hll\_raw\_agg, hll\_union\_agg, ndv, approx_count_distinct |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| hll\_union | hll\_raw\_agg, hll\_union\_agg, ndv, approx_count_distinct |
| hll\_union | hll\_raw\_agg, hll\_union\_agg, ndv, approx\_count\_distinct |

Copy link
Contributor

@morningman morningman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@morningman morningman added the approved Indicates a PR has been approved by one committer. label Aug 6, 2020
@morningman morningman merged commit 5ba4b02 into apache:master Aug 6, 2020
Hastyshell pushed a commit to Hastyshell/doris that referenced this pull request Jul 30, 2025
…p failures and 'key not found' errors (apache#50766) (apache#4065) (apache#4229)

Related PR: apache#50037 

If an error occurs during transaction label recycling, the vector
recording keys cannot be cleaned up. Keys that were already cleaned up
in the previous scan and recycle cycle will be carried over to the next
scan and recycle cycle, causing a large number of 'key not found'
errors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. area/materialized-view Issues or PRs related to materialized view branch-0.13 PR which need to merge to branch 0.13 kind/docs Categorizes issue or PR as related to documentation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Proposal] Materialized View 2.0

3 participants